package org.nerve.javaxt;


import java.io.File;

/**
 * org.nerve.javaxt
 * Created by zengxm on 2016/6/6.
 */
public class FileDateDetail {

	public static void main(String[] args) {
		//获取文件的创建时间，最后访问时间
		File file=new File("D:\\numbers.txt");

		javaxt.io.File jFile=new javaxt.io.File(file);

		System.out.println("create:"+jFile.getCreationTime());
		System.out.println("modify:"+jFile.getLastModifiedTime());
		System.out.println("access:"+jFile.getLastAccessTime());
	}
}
